import neo4jtest
import re


kg = neo4jtest.MashupKnowledgeGraph("neo4j://localhost:7687", "neo4j", "hahaha")
resp = kg.fmt_test()
arr = []
for item in resp:
    arr.append(list(item.values())[0]['name'])
print(arr)
s = set()
for item in arr:
    temp = re.split(r"[\,|\.|\\|\/| |\-]", item)
    s |= set(temp)
for item in s:
    print(item)
    